/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package talvan;

/**
 * Klassi av einari Deild 
 * @author DJH
 */
public class Devision {
    private String name;
    private int id;
    
    public Devision()
    {
    
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }
     /**
      * Overridar toString fyri at fáa eitt betri navn 
      * @return 
      */
    public String toString()
    {
        return name;
    }
}
